package com.xinqi.modules.chat.chat.message.convert;

import com.xinqi.modules.chat.chat.message.dto.rsp.ChatEmojiMessageResultDTO;
import com.xinqi.modules.chat.chat.message.dto.req.ChatEmojiMessageCreateDTO;
import com.xinqi.modules.chat.chat.message.domain.ChatEmojiMessageEntity;
import com.xinqi.common.mapstruct.CommonConvertConfig;
import org.mapstruct.Mapper;

/**
 * 聊天消息自定义表情表转换
 *
 * @author: yyzhen
 * @date: 2023/07/11
 */
@Mapper(config = CommonConvertConfig.class)
public abstract class ChatEmojiMessageConvert {
    public abstract ChatEmojiMessageEntity create(ChatEmojiMessageCreateDTO s);

    public abstract ChatEmojiMessageResultDTO convert(ChatEmojiMessageEntity s);
}
